<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    // 1.使用
    let person = {}
    // 等同于
    let person2 = new Object()

    // 2.可以动态取值
    person.name = '张三'
    let filed = 'name'
    console.log(person[filed])
    console.log(person['name'])
</script>
</body>
</html>